PXC Documentation

PXC Home

Canvas

1.18.0

Draw on surface using brush, eraser, etc.

Node Data

Display name

Canvas

Internal name

Node_Canvas

Inheritances

Node_Canvas

Inputs

Frames

dimension

Dimension

Output

enum

Output Type

bool

Auto Frame

int

Frame Index

float

Animation Speed

enum

On End

Background

bool

Render Background

enum

Background Type

color

Background Color

surface

Background

bool

Use Background Dimension

slider

Background Alpha

Brush

enum

Brush Type

surface

Brush Surface

range

Brush Distance

rotation_random

Random Direction

bool

Rotate By Direction

Animated Brush

bool

Animated Brush

enum

Animation Type

float

Base Speed

float

Velocity Speed

float

Step Speed

enum

On Animation End

Scatter

bool

Scatter

float

Scatter Amount

float

Scatter Radius

Data Transfer

surface

Data Source

bool

Transfer Dimension

Outputs

surface

Surface Out

Attributes

Color Depth

Canvas node is used for drawing directly to surface.



Properties


Dimension


The size of the canvas.


Frames Animation


Whether to output as animated surface or surface array.


Animation Type


What to do when the animation reaches the last frame. - Loop: Loop back to the first frame. - Hold: Freeze on the last frame. - Clear: Output empty surface.


Animation Speed


The speed of the animation.


Background


The background texture.


Use Background Dimension


Whether to use the background texture dimensions instead of the Dimension.


Background Alpha


The alpha of the background texture.


Tools


Canvas node comes with a set of tools for drawing on the surface.


Actions


Actions are refered to the right-side button in the preview panel. These can be seen as tools for more specific tasks.



Commit History


1.21.rc12
**Canvas**: Fix color picker always pick brush color.
**Canvas**: Add secondary color.
1.21.rc7
**Canvas**: Fix dimension change not apply immediately.

Related Links